home *** CD-ROM | disk | FTP | other *** search
/ Dino Crisis Digital Press Kit / Dino Crisis Digital Press Kit.iso / mac / f / 00083_Script_83 < prev    next >
Text File  |  1999-09-02  |  788b  |  32 lines

  1. on mousedown
  2.   global gSoundLevel
  3.   set the soundlevel to 0
  4.   go to "norm"
  5.   puppetsprite 39, true
  6.   repeat while the stilldown
  7.     
  8.     put the mouseh into x
  9.     set the loch of sprite 39 to x
  10.     --------
  11.     put the loch of sprite 39 into k
  12.     set f = (k - 45) * 26
  13.     --put f into field "count"
  14.     set the movietime of sprite 10 to f
  15.     --------
  16.     updatestage
  17.   end repeat
  18. end
  19.  
  20. on mouseup
  21.   global gSoundLevel
  22.   set the soundlevel to gSoundLevel
  23.   set the movierate of sprite 10 to 1
  24.   set the locv of sprite 39 to 373
  25.   set the visible of sprite 19 to true
  26.   set the visible of sprite 20 to false
  27.   set the visible of sprite 21 to false
  28.   set the visible of sprite 22 to false
  29.   set the visible of sprite 23 to false
  30.   updatestage
  31.   checkblip
  32. end